const columns = [
  {
    title: "序号",
    dataIndex: "index",
    key: "index",
    customRender: (text, record, index) => `${index + 1}`,
    align: "center",
  },
  {
    title: "库位编号",
    dataIndex: "serialNumber",
    key: "serialNumber",
    align: "center",
  },
  {
    title: "货架区名称",
    dataIndex: "name",
    key: "name",
    align: "center",
  },
  {
    title: "备注",
    dataIndex: "remark",
    key: "remark",
    align: "center",
  },
  {
    title: "操作",
    width: 200,
    dataIndex: "action",
    key: "action",
    align: "center",
    scopedSlots: { customRender: "action" },
  },
];

export { columns };
